
package cn.edu.scau.cmi.hombio.dao;

import cn.edu.scau.cmi.hombio.domain.Task;

import java.util.Calendar;
import java.util.Set;

import org.skyway.spring.util.dao.JpaDao;

import org.springframework.dao.DataAccessException;

/**
 * DAO to manage Task entities.
 * 
 */
public interface TaskDAO extends JpaDao<Task> {

	/**
	 * JPQL Query - findTaskByEndTime
	 *
	 */
	public Set<Task> findTaskByEndTime(java.util.Calendar endTime) throws DataAccessException;

	/**
	 * JPQL Query - findTaskByEndTime
	 *
	 */
	public Set<Task> findTaskByEndTime(Calendar endTime, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findTaskByTaskNumber
	 *
	 */
	public Set<Task> findTaskByTaskNumber(String taskNumber) throws DataAccessException;

	/**
	 * JPQL Query - findTaskByTaskNumber
	 *
	 */
	public Set<Task> findTaskByTaskNumber(String taskNumber, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findAllTasks
	 *
	 */
	public Set<Task> findAllTasks() throws DataAccessException;

	/**
	 * JPQL Query - findAllTasks
	 *
	 */
	public Set<Task> findAllTasks(int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findTaskByStartTime
	 *
	 */
	public Set<Task> findTaskByStartTime(java.util.Calendar startTime) throws DataAccessException;

	/**
	 * JPQL Query - findTaskByStartTime
	 *
	 */
	public Set<Task> findTaskByStartTime(Calendar startTime, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findTaskById
	 *
	 */
	public Task findTaskById(Integer id) throws DataAccessException;

	/**
	 * JPQL Query - findTaskById
	 *
	 */
	public Task findTaskById(Integer id, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findTaskByTaskNumberContaining
	 *
	 */
	public Set<Task> findTaskByTaskNumberContaining(String taskNumber_1) throws DataAccessException;

	/**
	 * JPQL Query - findTaskByTaskNumberContaining
	 *
	 */
	public Set<Task> findTaskByTaskNumberContaining(String taskNumber_1, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findTaskByMemo
	 *
	 */
	public Set<Task> findTaskByMemo(String memo) throws DataAccessException;

	/**
	 * JPQL Query - findTaskByMemo
	 *
	 */
	public Set<Task> findTaskByMemo(String memo, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findTaskByCreateTime
	 *
	 */
	public Set<Task> findTaskByCreateTime(java.util.Calendar createTime) throws DataAccessException;

	/**
	 * JPQL Query - findTaskByCreateTime
	 *
	 */
	public Set<Task> findTaskByCreateTime(Calendar createTime, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findTaskByPrimaryKey
	 *
	 */
	public Task findTaskByPrimaryKey(Integer id_1) throws DataAccessException;

	/**
	 * JPQL Query - findTaskByPrimaryKey
	 *
	 */
	public Task findTaskByPrimaryKey(Integer id_1, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findTaskByMemoContaining
	 *
	 */
	public Set<Task> findTaskByMemoContaining(String memo_1) throws DataAccessException;

	/**
	 * JPQL Query - findTaskByMemoContaining
	 *
	 */
	public Set<Task> findTaskByMemoContaining(String memo_1, int startResult, int maxRows) throws DataAccessException;

}